* {
  font-family: 'Inter Regular', sans-serif;
  font-size: 14px;
}

/* Text Styles */

.title {
  font-family: 'Inter SemiBold';
  color: var(--secondaryBlue);
}

.h-main {
  font-size: 2rem;
}

.p-title {
  font-family: 'Inter SemiBold';
  font-size: 1.2rem;
  margin-bottom: 0;
}

.h-large {
  font-size: 1.5rem;
}

.i-label {
  color: var(--secondaryBlue);
  font-family: 'Inter Medium';
}

.text-bold {
  font-family: 'Inter SemiBold';
}

.text-clipped {
  text-overflow: ellipsis;
  overflow: hidden;
  line-clamp: 1;
}

/* Icon Styles */

.f-icon {
  height: 30px;
  width: 30px;
  font-size: 2.5rem;
}

/* Button Styles */

.btn-outline-main {
  border: 1px solid var(--primaryBlue);
  color: var(--primaryBlue);
  padding: 5px 15px;
  background: transparent;
  border-radius: 3px;
  text-align: center;
}

.btn-filled-main {
  background: var(--primaryBlue);
  color: white;
  outline: var(--primaryBlue);
}

.btn-outline-main:hover,
.btn-outline-main:focus {
  background-color: var(--primaryBlue);
  color: white;
  border-color: var(--primaryBlue);
  outline-color: var(--primaryBlue);
  transition: ease 0.3s;
}

.btn-filled-main:hover,
.btn-filled-main:focus {
  background-color: var(--primaryBlue);
  color: white;
  border-color: var(--primaryBlue);
  outline-color: var(--primaryBlue);
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.081);
  scale: 1.05;
}

.btn-outline-sec {
  border: 1px solid var(--secondary);
  color: var(--secondary);
  padding: 5px 15px;
  background: transparent;
  border-radius: 3px;
  text-align: center;
}

.btn-outline-sec:hover,
.btn-outline-sec:focus {
  background-color: var(--secondary);
  color: white;
  border-color: var(--secondary);
  outline-color: var(--secondary);
  transition: ease 0.3s;
}

.btn-outline-kicker {
  border: 1px solid var(--kickerGrey);
  color: var(--secondaryBlue);
  padding: 5px 15px;
  background: transparent;
  border-radius: 3px;
  text-align: center;
}

.btn-outline-kicker:hover,
.btn-outline-kicker:hover i,
.btn-outline-kicker:focus {
  background-color: var(--kickerGrey);
  color: white;
  border-color: var(--kickerGrey);
  outline-color: var(--kickerGrey);
  transition: ease 0.3s;
}

.btn-search {
  background: transparent;
  border: 1px solid var(--kickerGrey);
  border-left: none;
  color: var(--secondaryBlue);
  border-radius: 0 5px 5px 0;
}

.btn-search:hover {
  color: #212529;
  background-color: transparent;
  border-color: var(--kickerGrey);
}

.btn-action {
  border: 1px solid var(--kickerGrey);
  color: var(--textGrey);
}

.btn-action:hover {
  color: white;
}

.btn-custom {
  background: var(--success);
  color: white;
  outline: var(--success);
}

.btn-custom:hover,
.btn-custom:focus {
  background-color: var(--success);
  color: white;
  border-color: var(--success);
  outline-color: var(--success);
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.081);
  scale: 1.05;
}

.action-primary:hover {
  background-color: var(--lightBlue);
}

.action-secondary:hover {
  background-color: var(--textGrey);
}

.action-cancel:hover {
  background-color: var(--danger);
}

.action-warning:hover {
  background-color: var(--warning);
}

.action-success:hover {
  background-color: var(--success);
}

.link-style,
.link-style:hover {
  color: var(--primaryBlue);
}

.link-style.active {
  font-family: 'Inter SemiBold';
  color: var(--secondaryBlue);
}

.link-sort,
.list-status {
  display: flex;
  align-items: center;
}

.dropdown-link {
  color: black;
}

.btn-group {
  width: fit-content;
}

.btn-group .action-secondary:hover i {
  color: white;
}

/* Other Styles */

.custom-input {
  border-color: var(--kickerGrey);
}

.border-kicker {
  border: 1px solid var(--kickerGrey);
  border-radius: 0.5rem;
}

.border-x-right {
  border-right: none;
}

.border-s-right {
  border-right: 1px solid var(--kickerGrey);
}

.border-s-bottom {
  border-bottom: 1px solid var(--kickerGrey) !important;
}

.border-d-bottom {
  border-bottom: 2px dashed var(--kickerGrey) !important;
}

.border-b-0 {
  border-bottom: 0;
}

.custom-card {
  background-color: transparent;
  border: 1px solid rgb(228, 228, 228);
}

.custom-card .card-header {
  background-color: transparent;
}

thead {
  color: var(--secondaryBlue);
  font-family: 'Inter SemiBold';
}

thead > tr > th > a {
  color: var(--secondaryBlue);
}

thead > tr > th,
thead > tr > th > a {
  white-space: nowrap;
}

tbody > tr > td {
  border-top: none;
  border-bottom: 1px solid var(--kickerGrey);
  white-space: nowrap;
}

.custom-table thead {
  background-color: var(--theadGrey);
}

.custom-table thead > tr > th > a:hover {
  color: var(--textGrey);
}

.custom-table thead > tr > th,
.custom-table thead > tr > th > a {
  border: none !important;
}

.custom-table > thead > tr > th > a {
  padding-inline: 0.25em;
}

.custom-table > tbody > tr > td {
  padding-block: 1rem;
}

.custom-table tbody > tr > td {
  vertical-align: middle;
}

.custom-table tr:last-child > td {
  border-bottom: 0;
}

.kicker {
  background-color: var(--kickerGrey);
  color: var(--secondaryBlue);
  padding: 10px;
  /* width: 100%; */
}

.bg-secondary-grey {
  background-color: var(--secondaryGrey);
  color: var(--secondaryBlue);
  padding: 10px;
}

ul.pagination {
  margin-bottom: 0 !important;
}

/* Side Navigation */

#sidebarWrapper {
  position: fixed;
  width: 250px;
  height: 100vh;
  transition: 0.5s;
  overflow-x: hidden;
  background: var(--bs-body-bg);
  box-shadow: var(--shadow);
  z-index: 1022;
  margin-left: -250px;
}

#adminContent {
  padding: 0;
  width: 100%;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
}

#adminContent.sidenav-toggled {
  padding: 0 0 0 250px;
}

#sidebarWrapper.toggled {
  margin-left: 0;
}

.sidenav {
  color: var(--textGrey);
}

.sidenav-title {
  font-family: 'Inter SemiBold';
  color: var(--darkGrey);
  white-space: nowrap;
}

.sidenav-list,
.sidenav-collapse {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sidenav-item {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.sidenav-link {
  display: flex;
  white-space: nowrap;
  align-items: center;
  text-decoration: none !important;
  color: var(--textGrey);
  padding-inline: 1rem;
  padding-block: 0.5rem;
  width: 100%;
  justify-content: space-between;
  column-gap: 1rem;
}

.sidenav-link i:first-child {
  width: 1.5rem;
}

.sidenav-link i:last-child {
  transition: all 0.3s;
}

.sidenav-item > a > span:nth-child(2) {
  flex: 1 1 auto;
}

.sidenav-item.active > a,
.collapse-item.active > a {
  font-family: 'Inter Bold';
  color: var(--primary);
  background-color: var(--lightGrayishBlue);
}

.sidenav-item.active > a > span {
  font-family: 'Inter Bold';
}

.sidenav-item:hover > a,
.collapse-item:hover > a {
  background: var(--secondaryGrey);
  color: var(--secondary) !important;
}

.collapse-item {
  display: flex;
  margin-top: 10px;
  margin-bottom: 10px;
}

.collapse-item a {
  padding-left: 3.3rem;
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* Top Navigation */

.navbar {
  background: white;
  box-shadow: var(--shadow);
}

.btn-nostyle {
  background: transparent;
  border: none !important;
  outline: none !important;
  padding: 0;
  cursor: pointer;
  transition: 0.3s;
}

.sidebar-toggler i,
.notifaction-toggler {
  font-size: 1.5rem;
}

.sidebar-toggler:hover,
.notification-toggler:hover {
  color: var(--primaryBlue);
}

#notificationCount {
  font-size: 0.5rem;
  background: var(--danger);
  color: white;
  position: absolute;
  top: -1.25rem;
  left: 0.75rem;
  padding: 5px;
}

.notification-toggler:hover > i > #notificationCount {
  background: var(--primaryBlue);
}

.nav-user label {
  font-size: 1.5rem;
}

.overlay {
  display: none;
}

#search {
  border: transparent;
}

.form-switch .form-check-input:checked {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.avatar {
  border: 3px solid var(--kickerGrey);
  border-radius: 50%;
  padding-block: 0.5rem;
  padding-inline: 0.5rem;
}

.dropdownAvatar {
  background-color: transparent;
  border: none;
  border-radius: 0.5em;
}

.dropdownAvatar:hover {
  background-color: var(--secondaryGrey);
  border: none;
}

.dropdownAvatar:hover,
.dropdownAvatar:hover i {
  color: var(--darkGrey);
}

.dropdownAvatar.dropdown-toggle::after {
  display: none;
}

.dropdownAvatar + .dropdown-menu {
  width: 260px;
}

#sidenav .card.card-body.h-100 {
  width: 300px;
}

.sidenav-link[aria-expanded='true'] i:last-child {
  transform: rotate(90deg);
}

.logoContainer {
  background: white;
  border-right: 1px solid var(--kickerGrey);
  border-bottom: 1px solid var(--kickerGrey);
  height: 75px;
  display: flex;
  justify-content: center;
}

.img-logo {
  width: 100%;
  object-fit: cover;
}

.sideMenu {
  border-right: 1px solid var(--kickerGrey);
}

.badge {
  border-radius: 50%;
  font-size: 0.5rem;
}

/* Notifications Modal */

.modal-dialog.modal-notification {
  padding-top: 4rem;
  margin-right: 1rem;
}

.modal-dialog.modal-notification .modal-content {
  height: 100%;
  box-shadow: var(--shadow-xl);
}

.modal-dialog.modal-notification .modal-content .modal-header {
  border: none;
  padding-bottom: 0;
}

.notification-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.icon-wrapper {
  position: relative;
  font-size: 2.5rem;
  margin-top: 0.25rem;
}

.notification-icon {
  position: absolute;
  color: white;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-size: 0.5em;
}

.item-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.item-title {
  font-weight: bold;
}

.item-desc {
  font-size: 0.8rem;
}

.item-time {
  font-size: 0.8rem;
  color: var(--grayishBlue);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.notification-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Summernote double dropdown-button fix */

.note-editor .dropdown-toggle::after {
  all: unset;
}

.note-editor .note-dropdown-menu {
  box-sizing: content-box;
}

.note-editor .note-modal-footer {
  box-sizing: content-box;
}

/* Handle errors for select2  */

.has-error .select2-dropdown,
.has-error .select2-selection {
  border-color: #a94442;
}

.has-error .select2-container--focus .select2-selection,
.has-error .select2-container--open .select2-selection {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
  border-color: #843534;
}

.has-error.select2-drop-active {
  border-color: #843534;
}

.has-error.select2-drop-active.select2-drop.select2-drop-above {
  border-top-color: #843534;
}

/* media queries */

@media (max-width: 767px) {
  .border-s-right {
    border-right: none;
  }
}

@media screen and (max-width: 1024px) {
  #adminContent.sidenav-toggled {
    padding: 0;
  }
  .overlay.show {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: block;
    z-index: 1021;
    position: fixed;
  }
  .form-switch .form-check-input {
    margin-left: -2em;
  }
}

/* Utilities */

.flex-col-gap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fa-3xl {
  font-size: 3rem;
}

.fw-mazzard-bold {
  font-family: 'Mazzard Bold', 'Inter Bold', 'Segoe UI', Verdana, sans-serif;
  font-weight: 700;
}
